<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>创建用户</title>
        <link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"/>
    </head>
    <body>
        <div class="container-fluid">
            <div class="row">
                <div class="col-4">
                    <form action="/user/add" method="POST">
                        <div class="form-group row">
                            <label class="col-form-label col-2">姓名</label>
                            <div class=" col-6">
                                <input class="form-control" name="name" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-form-label col-2 pt-0">性别</label>
                            <div class="col-6">
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" name="sex" type="radio" value="1" checked="checked">
                                    <label class="form-check-label">男</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" name="sex" type="radio" value="0">
                                    <label class="form-check-label">女</label>
                                </div>     
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-form-label col-2">地址</label>
                            <div class="col-6">
                                <textarea class="form-control" name="addr"></textarea>
                            </div>
                        </div>
                        <div class="form-group row">
                            <div class="col-8">
                                <input class="btn btn-primary" type="submit" value="提交">
                            </div>
                           
                        </div>
                    </form>
                </div>
            </div>

        </div>

    </body>
</html>